package net.fdukedom.epicurus.service;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Epicurus end point interface.
 * 
 * @author Alexander Kirakozov
 * @version $Id$
 */
public interface EpicurusWSInterface extends Remote {
    public boolean connect(String email, String password)
            throws RemoteException;

    public boolean updateProfile(String email, String password,
            String userName, Short sex) throws RemoteException;

    public String getUserName(String email, String password)
            throws RemoteException;

    public Short getUserSex(String email, String password)
            throws RemoteException;

    public String getPluginsInfo() throws RemoteException;
    
	public String invoke(String xmlRequest) throws RemoteException;
}